.taxonomy {
  position: fixed;
  z-index: 996;
  width: 100%;
  left: 0;
  transition: transform 0.2s;
  transform: translateY(-100%);
  overflow: hidden;
  &.active {
    transform: translateY(0);
  }
  .taxonomy-panel {
    max-height: calc(100vh - #{$navbar-height});
    margin-bottom: 1px; // fix firefox bottom border cut.
    background: #fff;
    @extend .z-depth-1;
    overflow-y: auto;
    color: #333;
    font-size: 15px;
    line-height: 1.2em;
    padding: 12px 24px;
    label {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 100%;
      padding: 15px 0;
      margin: 0;
      // font-size: 13px;
      color: $muted-color;
    }
    ul {
      margin: 0;
      overflow: hidden;
      li {
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 5px;
        .badge {
          font-size: 0.8em;
          vertical-align: top;
          line-height: 25px;
        }
      }
      &:empty {
        display: none;
      }
    }
  }
}
